﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace FalsePositiveCypher.Tests
{
    [TestClass]
    public class VariableBaseMathTests
    {
        [TestMethod]
        public void Add_10_10_Decimal_Test()
        {
            VariableBaseMath vbm = new VariableBaseMath("0123456789");
            String result = vbm.Add("10","10");
            Assert.AreEqual("100", result);
        }

        [TestMethod]
        public void Add_1_1_Binary_Test()
        {
            VariableBaseMath vbm = new VariableBaseMath("01");
            String result = vbm.Add("1", "1");
            Assert.AreEqual("10", result);
        }
    }
}
